<?php
/**
 * @file content-profile-display-view.tpl.php
 *
 * Theme implementation to display a content-profile.
 */
?>
<?php if (isset($title)): ?>
    <h3 class="content-profile-title" id="content-profile-title-<?php print $type; ?>">
        <?php print $title; ?>
    </h3>
<?php endif; ?>
<div class="content-profile-display" id="content-profile-display-<?php print $type; ?>">
    <?php if (isset($tabs)) : ?>
        <ul class="tabs content-profile">
            <?php foreach ($tabs as $tab) : ?>
                <?php if ($tab): ?>
                    <li><?php print $tab; ?></li>
                <?php endif; ?>
            <?php endforeach; ?>
        </ul>
    <?php endif; ?>
    <?php if (isset($node->nid) && isset($content)): ?>
        <?php print $content ?>
    <?php endif; ?>
</div>